package edu.gdkm.interfacedemo;

public class CarController implements RemoteController {
    boolean power;
    double cspeed;
    CarController(double cspeed){
        this.power = Controller.POWER_ON;
        this.cspeed = cspeed;
    }
    @Override
    public void powerOnOff() {
        this.power = !this.power;
    }

    @Override
    public void volumnUp(int increment) {
        this.cspeed += increment;
    }

    @Override
    public void volumnDown(int increment) {
        this.cspeed -= increment;
    }

    @Override
    public void outPut() {

    }
}
